<template>
  <div>
    <hd titles="积分商城"></hd>
    <integrals :list="list" :user="user"></integrals>
    <ftr></ftr>
  </div>
</template>

<script>
  import integrals from "../components/xyl/integral/integrals";
  import hd from "../components/public/hd";
  import ftr from "../components/public/ftr";

  export default {
    name: "integral",
    components: {
      'integrals': integrals,
      'hd':hd,
      'ftr':ftr
    },
    data:function () {
      return{
        list:this.$store.state.coupon,
        user:this.$store.state.curLoginUser
      }
    }
  }
</script>

<style scoped>
.integrals{
  text-align: center;
}
</style>
